<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%     
  String path = request.getContextPath();     
  String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";     
%>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>个人资料</title>
    <base href="<%=basePath%>"/>
    <%@ include file="../cuv_include.jsp"%>
    <style type="text/css">
      fieldset,legend,form,table,tr,td,input,textarea{margin:0;padding:0}
      table{margin:10px 10px};
      td{line-height: 40px;}
      label {font-weight:bold;}
      input[type="text"]{width:250px;}
      input[type="password"]{width:250px;}
      input[type="textarea"]{width:250px;}      
    </style>    
  </head>
<body>
  <fieldset>
    <legend>个人信息：</legend>  
        <table>
          <tr>
            <td><label for="enName">英文名：</label></td>
            <td>
            	<input type="text" name="enname" id="enname" disabled="disabled" value="${user.enname }" />
            </td>
          </tr>
          <tr>
            <td><label for="cnName">别名：</label></td>
            <td>
            	<input type="text" name="cnname" disabled="disabled" id="cnname" value="${user.cnname }" />
            </td>
          </tr>
          <tr>
            <td><label for="mobile">手机号码：</label></td>
            <td>
            	<input type="text" name="mobile" disabled="disabled" id="mobile" value="${user.mobile }" />
            </td>
          </tr>
          <tr>
            <td><label for="email">Email：</label></td>
            <td>
            	<input type="text" name="email" disabled="disabled" id="email" value="${user.email }" />
            </td>
          </tr>
          <tr>
            <td><label for="createTime">创建时间：</label></td>
            <td>
            	<input type="text" name="createTime" disabled="disabled" id="createTime" value="${user.createTime }" />
            </td>
          </tr>          
          <tr>
            <td valign="top"><label for="remark">描述：</label></td>
            <td valign="top"><textarea name="remark" id="remark" cols="40" disabled="disabled" rows="3"><c:out value="${user.remark }"/></textarea></td>
          </tr>
        </table> 
  </fieldset> 
  <p>
    <a href="personal/selfedit.do" style="margin-right: 10px">修改个人资料</a>
    <a href="personal/pass.do">修改密码</a>
  </p>
</body>
</html>